package com.mdb.open.common.enums.trade.type;

import com.mdb.bc.api.enums.ApiEnum;


/**
 * @description:
 * @author: you.yichao
 * @create: 2019-07-16 10:51
 **/
public enum TfSysBizNoTypeEnum implements ApiEnum<String> {

    /**
     * 业务编号
     */
    DEFAULT("默认为空", ""),

    ATTACH_NO("附件编号", "99"),

    MERCHANT_BANK_ACC_UNIQUE_NO("商户银行账号唯一标识", "98"),

    APPLY_NO("融资申请编号", "80"),

    TRADE_FILE_NO("贸易档案编号", "81"),

    LOAN_INFO_HISTORY_NO("融资申请资料历史编号", "82"),

    TRADE_FILE_ITEM_NO("贸易档案商品编号", "83"),

    LOAN_INFO_ITEM_NO("融资申请商品信息记录编号", "84"),

    LOAN_INFO_ITEM_HISTORY_NO("融资申请商品信息记录历史编号", "85"),

    TRADE_FILE_CUSTOMS_NO("贸易档案海关编号", "86"),

    LOAN_INFO_CUSTOMS_HISTORY_NO("融资申请报关信息记录历史编号", "87"),

    LOAN_CONTRACT_NO("借据单编号", "70"),

    LOAN_REMIT_NO("贷款放款编号", "60"),

    LOAN_REMIT_LOG_NO("放款流水单编号", "61"),

    REPAYMENT_ORDER_NO("还款单编号", "50"),

    REPAYMENT_REMIT_ORDER_NO("还款汇款单编号", "51"),

    REPAYMENT_REMIT_LOG_ORDER_NO("还款汇款流水单编号", "52"),

    OUTWARD_REMIT_NO("汇出编号", "30"),

    OUTWARD_REMIT_LOG_NO("汇出流水编号", "31"),

    OUTWARD_REMIT_ORDER_NO("汇出订单编号", "32"),

    TRANSFER_REMIT_NO("转账编号", "20"),

    TRANSFER_REMIT_LOG_NO("转账流水编号", "21"),

    INWARD_REMIT_NO("汇入编号", "10"),

    INWARD_CLAIM_REMIT_NO("汇入认领编号", "11"),
    ;

    TfSysBizNoTypeEnum(String text, String no) {
        this.text = text;
        this.no = no;
    }

    private String text;

    private String no;

    @Override
    public String getValue() {
        return name();
    }

    @Override
    public String getText() {
        return this.text;
    }

    public String getNo() {
        return no;
    }
}
